//*****************************************************************************
//
// ABEC3 Spectral Observation
// Project: Horn H 400
//
//*****************************************************************************


// Some coordinates used by following sections.

Nodes  "Spectrum"
  Scale=1mm
  1001      0     0    -300   // Point on-axis

// Open a Vacs-project, where curves are rendered.
// Control_Spectrum allows also to redefine the abscissa.
 
Control_Spectrum 
  Name="Horn H 400"
  ID="HornH400"


// Calculation of single spectrum at point 1001

BE_Spectrum
  PlotType=Curves
  RefNodes="Spectrum"
  GraphHeader="Sound pressure"
  BodeType=LeveldB; Range=50
  101   1001  ID=101


// Calculation of multiple spectra along
// a circular-arc from -90 to +90 deg.
// The arc is embedded in BasePlane=-zx
// ie a plane through z-axis and x-axis.
// In order that the arc starts at the 
// negative x-axis "BasePlane" needs to 
// be negative.

BE_Spectrum
  PlotType=Directivity
  PolarRange=-90,+90, 19
  Distance=70cm
  BasePlane=-zx 
  101  Inclination=0.0    ID=201
  
  
// Radiation impedance at horn-throat.
// With RadImpType=Normalized the values
// are normalized to roh*c.
// Note, the first section of the horn
// is modeled with the help of Lumped Element
// "Waveguide".

Radiation_Impedance
  GraphHeader="Radiation Impedance"
  BodeType=Complex
  RadImpType=Normalized
  101  1001 1001  ID=301
  
  
// Lumped Element pressure at
// horn-throat (BE-part).

LE_Spectrum
  AnalysisType=Pressure
  System='S1' 
  101  Node=400  ID=401
  
  
// Electrical Driving Point Impedance
// of driver.

LE_Spectrum
  AnalysisType=Impedance
  System='S1'
  ID=501
  
  